package sale.wxb.loveshopping.entity.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import sale.wxb.loveshopping.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王小宝
 * @since 2023-03-30
 */
@Getter
@Setter
  @TableName("commodity_classify")
@ApiModel(value = "CommodityClassify", description = "")
public class CommodityClassify extends BaseEntity {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("分类名称")
      private String name;

      @ApiModelProperty("上级分类名称")
      private Long parentId;

      @ApiModelProperty("排序值 值越小越靠前")
      private Integer sort;

      @ApiModelProperty("是否启用")
      private Boolean enabled;

      @ApiModelProperty("图标访问地址")
      private String icon;


}
